package cn.kgc.rbac.service;

import cn.kgc.rbac.common.ResponseResult;
import cn.kgc.rbac.dto.UserPageDTO;
import cn.kgc.rbac.entity.User;
import cn.kgc.rbac.vo.UserVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 *
 */
public interface UserService extends IService<User> {

    ResponseResult selectPage(UserPageDTO userPageDTO);

    ResponseResult addUser(UserVO userVO);

    ResponseResult getUserById(Integer id);

    ResponseResult updateUser(UserVO userVO);

    ResponseResult deleteByUserId(String ids);

    Map<String, Object> loadMenu(String username);
}
